//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package come.tool.JDialog;

import com.tool.role.RoleProperty;
import org.come.Frame.LingbaoJframe;
import org.come.model.Lingbao;
import org.come.until.UserData;

public class LingKangJDialog implements TiShiChuLi {
	public LingKangJDialog() {
	}

	@Override
    public void tipBox(boolean tishi, Object object) {
		if (tishi) {
			Lingbao lingbao = (Lingbao)object;
			if (UserData.uptael(200000)) {
				lingbao.setKangxing(UserData.kangxing(lingbao.getLingbaolvl().intValue()));
				UserData.upling(lingbao);
				RoleProperty.getRoleProperty().equipWearOff();
				LingbaoJframe.getLingbaoJframe().getLingbaoJpanel().getLingbaoCardJpanel().getAttributeJpanel().shuxingzhanshi(lingbao);
			}
		}

	}
}
